export const myMixin = {
  methods: {
    showName () {
      alert(this.name);
    },
  },
  data () {
    return {
      msg: 'data in mixin',
    };
  },
};

export const myMixin2 = {
  mounted () {
    console.log('hello! 这是在App中被全局引入的 mixin - mounted 方法 ');
  },
};
